<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost" />
<title>clickable_image_test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">clickable_image_test</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/clickable_image.html</td>
	<td></td>
</tr>
<tr>
	<td>clickAtAndWait</td>
	<td>name=image_button</td>
	<td></td>
</tr>
<tr>
	<td>storeText</td>
	<td>id=image_button.x</td>
	<td>x</td>
</tr>
<tr>
	<td>storeText</td>
	<td>id=image_button.y</td>
	<td>y</td>
</tr>
<tr>
	<td>echo</td>
	<td>1:(${x}, ${y})</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=image_button.x</td>
	<td>regexp:-?\d+</td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=image_button.y</td>
	<td>regexp:-?\d+</td>
</tr>
<tr>
	<td>open</td>
	<td>/clickable_image.html</td>
	<td></td>
</tr>
<tr>
	<td>clickAtAndWait</td>
	<td>name=image_button</td>
	<td>10,10</td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=image_button.x</td>
	<td>regexp:-?\d+</td>
</tr>
<tr>
	<td>assertText</td>
	<td>id=image_button.y</td>
	<td>regexp:-?\d+</td>
</tr>
<tr>
	<td>storeText</td>
	<td>id=image_button.x</td>
	<td>x</td>
</tr>
<tr>
	<td>storeText</td>
	<td>id=image_button.y</td>
	<td>y</td>
</tr>
<tr>
	<td>echo</td>
	<td>2:(${x}, ${y})</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
